<?php 

namespace app\common\validate\record;

use think\Validate;

class RecordLateLeaveEarly extends Validate 
{ 
    protected $rule = [
        'uid' => 'require',
        'reserve_time' => 'require',
    ];

    protected $message = [
        'uid.require' => '请输入用户ID',
        'reserve_time.require' => '请输入设定打卡时间',
    ];

    protected $scene = [
        'edit' => ['uid','remark','examine_admin_name','admin_name','late_leave_early_type','reserve_time','id'],
        'add' => ['uid','remark','examine_admin_name','admin_name','late_leave_early_type','reserve_time'],
    ];

} 
